<div>
  <ul class="nav nav-tabs">
    <li className={{active:state.activeKey === key+1}} onClick="handleClick(key+1)" for="(key,label) in state.labels">
      <a>{label}</a>
    </li>
  </ul>
  <div class="tab-content">
    <slot></slot>
  </div>
</div>